package com.smart.five.ioc.annotation.list;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author junrui.wang
 * @create 2018/6/14
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("classpath*:com/smart/five/ioc/annotation/list/beans.xml");
        UserListService userListService = (UserListService) ac.getBean("userListService");
        System.out.println("success");
    }
}
